import ReactDOM from "react-dom/client";
import App from './App';
// 创建react应用实例
const app=ReactDOM.createRoot(document.querySelector('#root'));
// 渲染根组件
app.render(<App/>);